using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_DanhSachThietBiEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_DanhSachThietBiEntity()
         {
             tableName = "TBL_DanhSachThietBi";


			 fieldInfos.Add(new FieldInfo("TBL_DanhSachThietBi","HanBaoHanh","HanBaoHanh","string",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_DanhSachThietBi","HangSanXuat","HangSanXuat","string",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_DanhSachThietBi","MaCaBiet","MaCaBiet","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_DanhSachThietBi","MaCTPN","MaCTPN","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_DanhSachThietBi","MaTB","MaTB","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_DanhSachThietBi","NamSanXuat","NamSanXuat","string",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_DanhSachThietBi","NgayNhap","NgayNhap","string",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_DanhSachThietBi","NguoiNhap","NguoiNhap","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_DanhSachThietBi","TinhTrang","TinhTrang","string",10,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_HanBaoHanh;
		 protected string m_HangSanXuat;
		 protected string m_MaCaBiet;
		 protected string m_MaCTPN;
		 protected string m_MaTB;
		 protected string m_NamSanXuat;
		 protected string m_NgayNhap;
		 protected string m_NguoiNhap;
		 protected string m_TinhTrang;

		 public string HanBaoHanh

          { 
                get { 
                    return m_HanBaoHanh;}

                set{m_HanBaoHanh=value;

                    GetField("HanBaoHanh").Set();
                    GetField("HanBaoHanh").IsNull=(value == null);           
                    }
          }
		 public string HangSanXuat

          { 
                get { 
                    return m_HangSanXuat;}

                set{m_HangSanXuat=value;

                    GetField("HangSanXuat").Set();
                    GetField("HangSanXuat").IsNull=(value == null);           
                    }
          }
		 public string MaCaBiet

          { 
                get { 
                    return m_MaCaBiet;}

                set{m_MaCaBiet=value;

                    GetField("MaCaBiet").Set();
                    GetField("MaCaBiet").IsNull=(value == null);           
                    }
          }
		 public string MaCTPN

          { 
                get { 
                    return m_MaCTPN;}

                set{m_MaCTPN=value;

                    GetField("MaCTPN").Set();
                    GetField("MaCTPN").IsNull=(value == null);           
                    }
          }
		 public string MaTB

          { 
                get { 
                    return m_MaTB;}

                set{m_MaTB=value;

                    GetField("MaTB").Set();
                    GetField("MaTB").IsNull=(value == null);           
                    }
          }
		 public string NamSanXuat

          { 
                get { 
                    return m_NamSanXuat;}

                set{m_NamSanXuat=value;

                    GetField("NamSanXuat").Set();
                    GetField("NamSanXuat").IsNull=(value == null);           
                    }
          }
		 public string NgayNhap

          { 
                get { 
                    return m_NgayNhap;}

                set{m_NgayNhap=value;

                    GetField("NgayNhap").Set();
                    GetField("NgayNhap").IsNull=(value == null);           
                    }
          }
		 public string NguoiNhap

          { 
                get { 
                    return m_NguoiNhap;}

                set{m_NguoiNhap=value;

                    GetField("NguoiNhap").Set();
                    GetField("NguoiNhap").IsNull=(value == null);           
                    }
          }
		 public string TinhTrang

          { 
                get { 
                    return m_TinhTrang;}

                set{m_TinhTrang=value;

                    GetField("TinhTrang").Set();
                    GetField("TinhTrang").IsNull=(value == null);           
                    }
          }

}
}
